package com.sen.app.timemail.services;

import java.util.List;

import com.sen.app.timemail.entity.RecipientInfoEntity;

public interface SendEmailService {
    
	/**
	 * 发送邮件
	 * 
	 * @param info 需要发送的信息
	 * @return 非空则发送成功，否则失败
	 */
	public String sendTo(RecipientInfoEntity info);
	
	/**
	 * 获取所有接收者数据
	 *  
	 * @return 返回list集合，封装了RecipientInfoEntity对象
	 */
	public List<RecipientInfoEntity> getAllRecipientEmail();
	
	/**
	 * 获取发送失败的接收者数据
	 *  
	 * @return 返回list集合，封装了RecipientInfoEntity对象
	 */
	public List<RecipientInfoEntity> getSendFailRecipientEmail();
	
}
